<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>{{ config('app.name', 'Laravel') }}</title>
    <!-- Css -->
    <link href="{{ mix('home/css/app.css') }}" rel="stylesheet">
    <!-- Scripts -->
    <script src="{{ mix('home/js/app.js') }}" defer></script>
</head>
<style>
    header {height: 70px;}
    canvas { width: 100%;height: auto; position: fixed;opacity: 0.5; }

    footer{width: 100%;height: 160px }
</style>

<body class="">
<canvas id="canvas"></canvas>
<div id="app">
    <header class="wrapper">
        {{--头部导航--}}
        <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
            <div class="container">
                <a class="navbar-brand" href="#">Ghost Ai</a>
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <ul class="navbar-nav nav-pills mr-auto">
                        <li class="nav-item  active ">
                            <a class="nav-link  " href="{{route ('index')}}">首页</a>
                        </li>

                    </ul>


                </div>
            </div>
        </nav>
    </header>


    {{--Main--}}
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-8">
                <div class="card">
                    <div class="card-header">{{ __('Login') }}</div>

                    <div class="card-body">
                        <form method="POST" action="{{ route('login') }}">
                            @csrf

                            <div class="form-group row">
                                <label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>

                                <div class="col-md-6">
                                    <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>

                                    @error('email')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                    @enderror
                                </div>
                            </div>

                            <div class="form-group row">
                                <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>

                                <div class="col-md-6">
                                    <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">

                                    @error('password')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                    @enderror
                                </div>
                            </div>

                            <div class="form-group row">
                                <div class="col-md-6 offset-md-4">
                                    <div class="form-check">
                                        <input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>

                                        <label class="form-check-label" for="remember">
                                            {{ __('Remember Me') }}
                                        </label>
                                    </div>
                                </div>
                            </div>

                            <div class="form-group row mb-0">
                                <div class="col-md-8 offset-md-4">
                                    <button type="submit" class="btn btn-primary">
                                        {{ __('Login') }}
                                    </button>

                                    @if (request()->has('password.request'))
                                        <a class="btn btn-link" href="{{ route('password.request') }}">
                                            {{ __('Forgot Your Password?') }}
                                        </a>
                                    @endif
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    {{--底部--}}

    <footer class="navbar clearfix fixed-bottom navbar-dark bg-dark text-white">
        <div class="container">
            <div class="float-left">
                <dl class="">
                    <dd>许可协议：<a rel="nofollow" href="https://creativecommons.org/licenses/by-nc/4.0/deed.zh">CC BY-NC 4.0</a></dd>
                    <dd>版权所有：© 2014-2019 ghost-ai.com</dd>
                </dl>
            </div>
            <div class="float-right">
                <dl class="">
                    <dd>联系邮箱：<a href="mailto:ghost@ghost-ai.com">ghost@ghost-ai.com</a></dd>
                    <dd>ICP 备案：皖ICP备17004047号-1</dd>
                </dl>
            </div>
        </div>
    </footer>
</div>
</body>
<script>
    // scrollTop(0);
</script>
</html>
